﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Edit.aspx.cs" Inherits="admin_dri_teacher_Edit" %>

<div class="frombox datagrid-body" style="padding-bottom: 5px;">
    <form id="teacher-model" method="post">
        <table class="datagrid-btable" border="0" cellspacing="0" cellpadding="0" width="100%">
            <tr class="datagrid-row">
                <td class="th">
                    <div class="datagrid-cell">教练编号</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input name="Num" class="easyui-textbox" data-options="required:true" value="<%= model.Num %>" style="background: #eeeeee;" readonly />
                    </div>
                </td>
                <td class="rth">
                    <div class="datagrid-cell">姓名</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input name="Name" class="easyui-textbox" data-options="required:true" value="<%= model.Name %>" />
                    </div>
                </td>
                <td class="rth">
                    <div class="datagrid-cell">性别</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input id="sex" name="Sex" data-options="required:false" value="<%= model.Sex %>" />
                    </div>
                </td>
            </tr>
            <tr class="datagrid-row">
                <td class="th">
                    <div class="datagrid-cell">证件类型</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input id="certificateType" name="CertificateType" data-options="required:false" value="<%= model.CertificateType %>" />
                    </div>
                </td>
                <td class="rth">
                    <div class="datagrid-cell">证件编号</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input name="CertificateNum" class="easyui-textbox" data-options="required:false" value="<%= model.CertificateNum %>" />
                    </div>
                </td>
                <td class="rth">
                    <div class="datagrid-cell">加入日期</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input name="SignUpDate" class="easyui-datebox" data-options="required:false" value="<%= model.SignUpDate %>" />
                    </div>
                </td>
            </tr>
            <tr class="datagrid-row">
                <td class="th">
                    <div class="datagrid-cell">准驾车型</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input id="divingType" name="DivingType" data-options="required:false" value="<%= model.DivingType %>" />
                    </div>
                </td>
                <td class="rth">
                    <div class="datagrid-cell">驾照编号</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input name="DivingNum" class="easyui-textbox" data-options="required:false" value="<%= model.DivingNum %>" />
                    </div>
                </td>
                <td class="rth">
                    <div class="datagrid-cell">驾驶证有效期</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input name="DivingExpDate" class="easyui-datebox" data-options="required:false" value="<%= model.DivingExpDate %>" />
                    </div>
                </td>
            </tr>
            <tr class="datagrid-row">
                <td class="th">
                    <div class="datagrid-cell">准教车型</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input id="teacherCarType" name="TeacherCarType" data-options="required:false" value="<%= model.TeacherCarType %>" />
                    </div>
                </td>
                <td class="rth">
                    <div class="datagrid-cell">教练证号</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input name="TeacherNum" class="easyui-textbox" data-options="required:false" value="<%= model.TeacherNum %>" />
                    </div>
                </td>
                <td class="rth">
                    <div class="datagrid-cell">教练证有效期</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input name="TeacherExpDate" class="easyui-datebox" data-options="required:false" value="<%= model.TeacherExpDate %>" />
                    </div>
                </td>
            </tr>
            <tr class="datagrid-row">
                <td class="th">
                    <div class="datagrid-cell">手机</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input name="Mobile" class="easyui-textbox" data-options="required:false" value="<%= model.Mobile %>" />
                    </div>
                </td>
                <td class="rth">
                    <div class="datagrid-cell">邮箱</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input name="Email" class="easyui-textbox" data-options="required:false" value="<%= model.Email %>" />
                    </div>
                </td>
                <td class="rth">
                    <div class="datagrid-cell">企鹅QQ</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input name="QQ" class="easyui-textbox" data-options="required:false" value="<%= model.QQ %>" />
                    </div>
                </td>
            </tr>
            <tr class="datagrid-row">
                <td class="th">
                    <div class="datagrid-cell">备注</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input name="Description" class="easyui-textbox" data-options="required:false" value="<%= model.Description %>" />
                    </div>
                </td>
                <td class="rth">
                    <div class="datagrid-cell">地址</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input name="Address" class="easyui-textbox" data-options="required:false" value="<%= model.Address %>" />
                    </div>
                </td>
                <td class="rth">
                    <div class="datagrid-cell">
                        <label style="color: blue;">教练类型</label>
                    </div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <input id="teacherType" name="TeacherType" data-options="required:false" value="<%= model.TeacherType %>" />
                    </div>
                </td>
            </tr>
            <tr class="datagrid-row">
                <td class="th">
                    <div class="datagrid-cell">相片</div>
                </td>
                <td class="td">
                    <div class="datagrid-cell">
                        <%= ToolButton("icon-images","上传","Teacher.AddPhoto")
                        + ToolButton("icon-eye","查看","Teacher.ShowPhoto")
                        + ToolButton("icon-busy","清除","Teacher.DeletePhoto") %>
                        <input id="teacher-photo" name="Photo" type="hidden" value="<%= model.Photo %>" />
                    </div>
                </td>
            </tr>
        </table>
        <input name="ID" type="hidden" value="<%= model.ID %>" />
        <input name="IsVisible" type="hidden" value="<%= model.IsVisible %>" />
        <input name="InsertTime" type="hidden" value="<%= model.InsertTime %>" />
        <input name="UpdateTime" type="hidden" value="<%= model.UpdateTime %>" />
    </form>
</div>
